package Information;

import java.sql.Date;

public class CV
{
	private int CVNO;
	private String UUser;
	private short USex;
	private String UEmail;
	private int UTel;
	private String UAddress;
	private int UPostCode;
	private String Education;
	private String Speciality;
	private String JType;
	private String Job;
	private String City;
	private int Expectation;
	private String SelfIntroduction;
	private Date PublishTime;
	private int TotalClick;
	 
	
	public CV(){}
	
	public void SetCVInfo(int CVNO,String UUser,short USex,String UEmail,int UTel,String UAddress,int UPostCode,String Education,String Speciality,String JType,String Job,String City,int Expectation,String SelfIntroduction)
	{
		this.CVNO = CVNO;
		this.UUser = UUser;
		this.USex = USex;
		this.UEmail = UEmail;
		this.UTel = UTel;
		this.UAddress = UAddress;
		this.UPostCode = UPostCode;
		this.Education = Education;
		this.Speciality = Speciality;
		this.JType = JType;
		this.Job = Job;
		this.City = City;
		this.Expectation = Expectation;
		this.SelfIntroduction = SelfIntroduction;
	}
	public int getCVNO()
	{
		return this.CVNO;
	}
	public String getUUser()
	{
		return this.UUser;
	}
	public String getUSex()
	{
		String sex = "";
		if(this.USex==0)
			sex= "女";
		else 
		{
			sex= "男";
		}
		return sex;
	}
	public String getUEmail()
	{
		return this.UEmail;
	}
	public int getUTel()
	{
		return this.UTel;
	}
	public String getUAddress()
	{
		return this.UAddress;
	}
	public int getUPostCode()
	{
		return this.UPostCode;
	}
	public String getEducation()
	{
		return this.Education;
	}
	public String getSpeciality()
	{
		return this.Speciality;
	}
	public String getJType()
	{
		return this.JType;
	}
	public String getJob()
	{
		return this.Job;
	}
	public String getCity()
	{
		return this.City;
	}
	public int getExpectation()
	{
		return this.Expectation;
	}
	public String getSelfIntroduction()
	{
		return this.SelfIntroduction;
	}
}